Strict

Import agfx


Class TScreen Abstract
	
	
	Field name:String = ""
	
	
	Method Prepare:Void()
		APP.currentScreen = Self
		Self.Start()
	End
	
	Method Start:Void() Abstract
	
	Method Render:Void() Abstract
	
	Method Update:Void() Abstract
	
	Method PostFadeOut:Void()
		APP.nextScreen.Prepare()
	End
	
	Method PostFadeIn:Void()
	End
	
	Method ExtraRender:Void()
	End
	
End Class
